dvb_table_pat_init

@brief Initializes and parses PAT table @ingroup dvb_table

@param parms struct dvb_v5_fe_parms pointer to the opened device @param buf buffer containing the PAT raw data @param buflen length of the buffer @param table pointer to struct dvb_table_pat to be allocated and filled

This function allocates a PAT table and fills the fields inside the struct. It also makes sure that all fields will follow the CPU endianness. Due to that, the content of the buffer may change.

@return On success, it returns the size of the allocated struct. A negative value indicates an error.

extern (C)
ssize_t
dvb_table_pat_init
(,
const(ubyte)* buf
,
ssize_t buflen
,)

Meta